Search found 23 matches
- Sat Jun 13, 2009 7:46 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
Hi Lubin! There's nothing new. I've defended my Master's thesis. IMU project is closed (I hope just temporarily). I'm planning to start new IMU project in a few months and fix one's attention on it only. This time I'm thinking about using 3-Axis Magnetometer from Sparkfun too: http://www.sparkfun.co...
- Thu Sep 25, 2008 7:13 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
- Thu Sep 25, 2008 3:56 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
How do You think, what's the reason of this behavior?
- Thu Sep 25, 2008 3:48 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
It looks that:
Lines:
Blue - integrated data complementary filtered
Green - accelerometer X-axis
Red - accelerometer Z-axis
and this color between blue and green - gyroscope Y
Lines:
Blue - integrated data complementary filtered
Green - accelerometer X-axis
Red - accelerometer Z-axis
and this color between blue and green - gyroscope Y

- Thu Sep 25, 2008 3:31 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
The same error appears during using Complementary filter.
- Thu Sep 25, 2008 3:07 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
OK, Kalman is working, but something's going wrong.
1. IMU can't be longer than 1-2 seconds in near-horizontal position. If it happened figure displays value "-1" and do not move any more. I must to reset dsPIC.
2. There is still drift.
1. IMU can't be longer than 1-2 seconds in near-horizontal position. If it happened figure displays value "-1" and do not move any more. I must to reset dsPIC.
2. There is still drift.
- Thu Sep 25, 2008 12:07 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
This error appers, just when I'm starting sending data from dsPIC to Matlab (not durring connecting): ??? Attempted to access s_control_pos(1); index out of bounds because numel(s_control_pos)=0. Error in ==> D:\Program Files\MATLAB\R2007b\pic\blocks\RS232_analyzBloc.p>RS232_analyzBloc at 75 Error i...
- Thu Sep 25, 2008 10:55 am
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
I've removed integrator block before Kalman, Low Pass filters too and nothing changes. dsPIC still displays value "-1" on figure. I'm using 9600 baud rate because when I'm trying to set faster rate, Matlab displays error durring connection: ??? Attempted to access s_control_pos(1); index out of boun...
- Wed Sep 24, 2008 11:39 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
Hi Lubin!
Could you to correct my model? I've compiled it, but dsPIC still displays value -1 on figure (via RS-port), durring random move of IMU. Whats wrong?
Could you to correct my model? I've compiled it, but dsPIC still displays value -1 on figure (via RS-port), durring random move of IMU. Whats wrong?
- Wed Sep 24, 2008 10:37 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
Hi Lubin!
How to compile the file? I have the following error:
How to compile the file? I have the following error:
- Wed Sep 24, 2008 9:24 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
Hi Lubin!
How to use subsystem block "Simplified Kalman for publi" from IMU_Simulation.mdl ??
Where is definied matrix Az, Ts, Kz... ?? How to use it?
How to use subsystem block "Simplified Kalman for publi" from IMU_Simulation.mdl ??
Where is definied matrix Az, Ts, Kz... ?? How to use it?
- Mon Sep 22, 2008 12:12 am
- Forum: Advanced Simulink & RTW Questions
- Topic: Fuzzy Logic..
- Replies: 1
- Views: 19058
Fuzzy Logic..
Hi Lubin!
Is that possible to use Fuzzy Logic Toolbox and your blockset together in dsPIC?
Is that possible to use Fuzzy Logic Toolbox and your blockset together in dsPIC?
- Thu Aug 21, 2008 9:22 am
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
Dear Lubin,
I've got folowing error when trying to open IMU_Simulation.mdl:
I've got folowing error when trying to open IMU_Simulation.mdl:
- Thu Aug 14, 2008 12:12 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Re: Another method of gyro integrating.
I've updated this post. New pictures. 

- Wed Aug 13, 2008 4:38 pm
- Forum: Advanced Simulink & RTW Questions
- Topic: Another method of gyro integrating.
- Replies: 26
- Views: 89348
Another method of gyro integrating.
Hi Lubin! I've created my own method of using gyro and accelerometer to measure tilt. On the begining I was using ADXRS150EB from Analog Devices gyros, but they were failure (manufacturer delivered two times broken units). Now I'm using 2-axial IDG-300 from InvenSense, and MMA7260Q accelerometer fro...
- Sun Aug 03, 2008 11:02 pm
- Forum: Requirement, Installation & Configuration
- Topic: Compiling problem
- Replies: 29
- Views: 190624
Re: Compiling problem
Windows path? I don't know what are you talking about. C30 i installed typically on C:\program files\...
- Fri Aug 01, 2008 12:54 pm
- Forum: Requirement, Installation & Configuration
- Topic: Compiling problem
- Replies: 29
- Views: 190624
Re: Compiling problem
I've got the same problem. When I want to compile Servo_sinus.mdl Matlab displays: . ### Processing Template Makefile: D:\Program Files\MATLAB\R2007b\PIC\dspic\dspic_pic30_gcc.tmf ### Wrapping unrecognized make command (angle brackets added) ### <D:\PROGRA~1\MATLAB\R2007b\bin\win32\gmake> ### in def...
- Sat Jul 19, 2008 10:40 am
- Forum: dsPIC Peripherals
- Topic: Rx Input Multiplexed?
- Replies: 5
- Views: 26792
Re: Rx Input Multiplexed?
Could You make an example of Interface in LabView available? Something to sending data, receiving and presenting on grapf diagram. I've got evaluate version of LabView 8.5. I have never used it before 

- Thu Jun 19, 2008 1:06 pm
- Forum: dsPIC Peripherals
- Topic: Rx Input Multiplexed?
- Replies: 5
- Views: 26792
Re: Rx Input Multiplexed?
Could I request You for an example of Simulink model for transmitting data from PC to dsPIC? I need something simple to transmit data via at least one channel, i.e. thrust from joystick via Simulink to dsPIC using RS-232. Probably I should to use xPC blockset but I don't know how 

- Mon Jun 02, 2008 2:18 pm
- Forum: General Remark and Questions
- Topic: Importing data from Interface TX-Matlab to excel
- Replies: 1
- Views: 6283
Importing data from Interface TX-Matlab to excel
Hi Lubin!
Is that possible to import data, received using Interface TX-Matlab,
to EXCEL using some simple method?
I must to filtrate signal from IMU gyro (ADXRS150) and accelerometer. Propably I shoul implement Kalman filter, but I don't know how. Filtering is something new for me. Could you help?
Is that possible to import data, received using Interface TX-Matlab,
to EXCEL using some simple method?
I must to filtrate signal from IMU gyro (ADXRS150) and accelerometer. Propably I shoul implement Kalman filter, but I don't know how. Filtering is something new for me. Could you help?
- Sat May 31, 2008 9:42 pm
- Forum: bug reports
- Topic: Possible bug in ADC of dsPIC30F6010A
- Replies: 3
- Views: 22397
Re: Possible bug in ADC of dsPIC30F6010A
I used AVdd - AVss.
- Sat May 31, 2008 7:01 pm
- Forum: bug reports
- Topic: Possible bug in ADC of dsPIC30F6010A
- Replies: 3
- Views: 22397
Possible bug in ADC of dsPIC30F6010A
Hi Lubin! Could You check connections of pin AN7 and AN3 in your blockset? It's very strange, but when I want to convert AN7 analog input, dsPIC is converting different value than it's real. I checked all connections in my PCB and that value is on pin AN3. Is this possible, AN3 and AN7 are changed p...
- Wed May 28, 2008 11:35 pm
- Forum: dsPIC Peripherals
- Topic: Rx Input Multiplexed?
- Replies: 5
- Views: 26792
Rx Input Multiplexed?
Hi! I;m thinking about controling duty cycle of PWM's in my dsPIC using a joystick connected to computer. I'm trying to use yaw, pitch, roll axis and throttle from "joystick" block in "Virtual Reality Toolbox", data should be transfered via RS-232. Is that possible to make it using your blockset Lub...