Fix typos in comments and identifiers

This commit is contained in:
Nathan Hartman
2021-07-16 17:37:45 -04:00
committed by Gustavo Henrique Nihei
parent 38c5837d2b
commit 609ee6b54b
41 changed files with 68 additions and 66 deletions
+6 -6
View File
@@ -32,10 +32,10 @@
****************************************************************************/
/****************************************************************************
* Name: foc_current_controler
* Name: foc_current_controller
*
* Description:
* This function implements FOC current controler algorithm.
* This function implements FOC current controller algorithm.
*
* Input Parameters:
* foc - (in/out) pointer to the FOC data
@@ -46,7 +46,7 @@
*
****************************************************************************/
static void foc_current_controler(FAR struct foc_data_f32_s *foc,
static void foc_current_controller(FAR struct foc_data_f32_s *foc,
FAR dq_frame_f32_t *v_dq_req)
{
FAR pid_controller_f32_t *id_pid = &foc->id_pid;
@@ -404,9 +404,9 @@ void foc_current_control(FAR struct foc_data_f32_s *foc,
foc_idq_ref_set(foc, idq_ref);
/* Run FOC current controler (current dq -> voltage dq) */
/* Run FOC current controller (current dq -> voltage dq) */
foc_current_controler(foc, vdq_ref);
foc_current_controller(foc, vdq_ref);
/* DQ voltage compensation */
@@ -418,7 +418,7 @@ void foc_current_control(FAR struct foc_data_f32_s *foc,
* Name: foc_vabmod_get
*
* Description:
* Get result from the FOC controler (foc_current_control or
* Get result from the FOC controller (foc_current_control or
* foc_voltage_control)
*
* Input Parameters:
+6 -6
View File
@@ -32,10 +32,10 @@
****************************************************************************/
/****************************************************************************
* Name: foc_current_controler_b16
* Name: foc_current_controller_b16
*
* Description:
* This function implements FOC current controler algorithm.
* This function implements FOC current controller algorithm.
*
* Input Parameters:
* foc - (in/out) pointer to the FOC data
@@ -46,7 +46,7 @@
*
****************************************************************************/
static void foc_current_controler_b16(FAR struct foc_data_b16_s *foc,
static void foc_current_controller_b16(FAR struct foc_data_b16_s *foc,
FAR dq_frame_b16_t *v_dq_req)
{
FAR pid_controller_b16_t *id_pid = &foc->id_pid;
@@ -405,9 +405,9 @@ void foc_current_control_b16(FAR struct foc_data_b16_s *foc,
foc_idq_ref_set_b16(foc, idq_ref);
/* Run FOC current controler (current dq -> voltage dq) */
/* Run FOC current controller (current dq -> voltage dq) */
foc_current_controler_b16(foc, vdq_ref);
foc_current_controller_b16(foc, vdq_ref);
/* DQ voltage compensation */
@@ -419,7 +419,7 @@ void foc_current_control_b16(FAR struct foc_data_b16_s *foc,
* Name: foc_vabmod_get_b16
*
* Description:
* Get result from the FOC controler (foc_current_control or
* Get result from the FOC controller (foc_current_control or
* foc_voltage_control)
*
* Input Parameters:
+1 -1
View File
@@ -159,7 +159,7 @@ float motor_openloop_angle_get(FAR struct openloop_data_f32_s *op)
* Initialize motor angle structure
*
* Input Parameters:
* angle - (in/out) pointer to the motor angle strucutre
* angle - (in/out) pointer to the motor angle structure
* p - (in) number of the motor pole pairs
*
* Returned Value:
+1 -1
View File
@@ -280,7 +280,7 @@ static void svm3_duty_calc(FAR struct svm3_state_f32_s *s,
* Voltage vector definitions in 3-phase SVM:
*
* |---------|-----------|--------------------|-----------------|
* | Voltage | swithcing | Line to neutral | Line to line |
* | Voltage | switching | Line to neutral | Line to line |
* | vector | vectors | voltage | voltage |
* | |-----------|--------------------|-----------------|
* | | a | b | c | Van | Vbn | Vcn | Vab | Vbe | Vca |
+1 -1
View File
@@ -280,7 +280,7 @@ static void svm3_duty_calc_b16(FAR struct svm3_state_b16_s *s,
* Voltage vector definitions in 3-phase SVM:
*
* |---------|-----------|--------------------|-----------------|
* | Voltage | swithcing | Line to neutral | Line to line |
* | Voltage | switching | Line to neutral | Line to line |
* | vector | vectors | voltage | voltage |
* | |-----------|--------------------|-----------------|
* | | a | b | c | Van | Vbn | Vcn | Vab | Vbe | Vca |